use serde::{Deserialize, Serialize};
use utoipa::ToSchema;

/// 登录请求
#[derive(Debug, Serialize, Deserialize,ToSchema)]
pub struct LoginRequest {
    /// 用户名
    pub username: String,
    /// 密码
    pub password: String,
}

/// 启用禁用请求
#[derive(Debug, Serialize, Deserialize,ToSchema)]
pub struct DisableRequest {
    /// 用户ID
    pub user_ids: Vec<i32>,
}
